#include "tests.h"

#include <stdio.h>
#include <sys/times.h>
#include <time.h>
#include <unistd.h>

/* Temps de depart */
static clock_t st_time;

/* Temps de fin */
static clock_t en_time;

/* Demarre le chrono */
void start_clock()
{
	st_time = clock();
}

/* Arrete le chrono et affiche le resultat */
void end_clock()
{
	en_time = clock();
	printf("Temps ecoule: %.2fs\n", ((double) en_time - st_time)/CLOCKS_PER_SEC );
	
}

